www.gusucode.com > 6KBBS ASP版 V7.1 > 6KBBS ASP版 V7.1\code\bbs\Help.asp

    <!--#include file="up.asp"--><!--#include file="inc/grade.asp"-->
<link rel="stylesheet" type="text/css" href="skin/<%=Cssstyleid%>/bbs.css">
<div class=helptitle>论坛帮助选项</div>
<div class=helpbody><a href="help.asp?action=allheadpic">[查看论坛头像]</a> <a href="help.asp?action=grade">[论坛等级设置]</a> <a href="help.asp?action=mark">[查看积分设置]</a></div>
<%
dim action,ii
action=request.querystring("action")
select case action
case""
%>

<%case"allheadpic"%>
<div class=helptitle>查看论坛头像</div>
<div class=helpbody><table border="0" cellpadding="0" cellspacing="0"  style="border-collapse: collapse" width="100%">
      <tr><script>
ii=0
for(i=1;i<=<%=checknum(application(prefix&"picnum"))%>;i=i+1) {
ii=ii+1
document.write("<td width=12% align=center>"+i+"<br><img border=0 src=images/headpic/"+i+".gif><br>&nbsp;</td>")
if (ii==6){document.write("</tr>");ii=0;}
}        </script>
      </tr>
    </table></div>

<%case"grade"

function needmark(graden)
dim markn
if int(graden)<14 then
markn=int(graden)*200
else
markn="没有积分限制"
end if
needmark=markn
end function
%>
<div class=helptitle>查看等级设置</div>
<div class=helpbody>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" >
<tr>
<%
ii=0
for i=1 to 16
ii=ii+1
response.write"<td width=25% height=30><p style='margin: 5;line-height:150%'>"&i&" 级:"
gradename(i)
response.write"<br>积分:"&needmark(i)
response.write"<p style='margin: 5;line-height:150%'>图例:<img border=0 src=images/grade/"&i&".gif></td>"
if ii=4 then response.write"</tr>":ii=0
next
%>
</tr></table>
</div>
<%case"mark"%>
<div class=helptitle>查看积分设置(<font color="#FF0000">注意:如果你的积分小于零,你的用户将被禁止使用。</font>)</div>
<div class=helpbody>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" >
  <tr>
    <td width="48%">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
  <tr >
    <td width="50%" height="26">
    <p style="margin: 4"><b>动作:</b></td>
    <td width="50%">
    <p style="margin: 4"><b>积分:</b></td>
  </tr>
  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">发表话题:</td>
    <td width="50%">
    <p style="margin: 4">+10</td>
  </tr>
    <tr>
    <td width="50%" height="28">
    <p style="margin: 4">回复别人的帖子:</td>
    <td width="50%">
    <p style="margin: 4">+5</td>
  </tr>  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">别人回复你的帖子:</td>
    <td width="50%">
    <p style="margin: 4">+3</td>
  </tr>  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">帖子被设为精华:</td>
    <td width="50%">
    <p style="margin: 4">+50</td>
  </tr>  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">帖子被置顶:</td>
    <td width="50%">
    <p style="margin: 4">+30</td>
  </tr>
</table>
    </td>
    <td width="4%">
 </td>
    <td width="48%" valign="top">
	<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
  <tr >
    <td width="50%" height="26">
    <p style="margin: 4"><b>动作:</b></td>
    <td width="50%">
    <p style="margin: 4"><b>积分:</b></td>
  </tr>
  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">话题被删除:</td>
    <td width="50%">
    <p style="margin: 4">-30</td>
  </tr>
    <tr>
    <td width="50%" height="28">
    <p style="margin: 4">回帖被删除:</td>
    <td width="50%">
    <p style="margin: 4">-20</td>
  </tr>  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">发送留言:</td>
    <td width="50%">
    <p style="margin: 4">-5</td>
  </tr>  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">删除留言:</td>
    <td width="50%">
    <p style="margin: 4">+3</td>
  </tr>  <tr>
    <td width="50%" height="28">
    <p style="margin: 4">上传一个文件:</td>
    <td width="50%">
    <p style="margin: 4">-10</td>
  </tr>  
</table></td>
  </tr>
  </table>
</div>

<%end select
call down%>